

let config = {
	
}

const urlConfig = {
	'dev': 'https://shequ.shihongkeji.cn/webapi',
	'pro': 'https://survey.kaytune.com.cn/'
}

// #ifdef H5
const env = 'dev'
config.env = env
config.baseUrl = urlConfig[env]
// #endif

// #ifdef MP-WEIXIN
let appid = uni.getAccountInfoSync().miniProgram.appId
const appidConfig = {
	// 'wxafed9af506dd3371' : {
	'wx329965f1fdacd0d7': {
		env: 'dev',
		appid,
		ktBrand: config.ktBrand,
	},
}
config = Object.assign(config, appidConfig[appid])
config.baseUrl = urlConfig[config.env]
config.imgurl = 'https:'
// #endif

export default config